package com.example.patient.jpa;

import com.example.common.entity.EnumConfig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/19 11:08
 * @Version 1.0
 */
public interface EnumConfigRepository extends JpaRepository<EnumConfig, String> {

    List<EnumConfig> findByDisableAndTypeIn(Boolean disable, List<Integer> list);

}
